/**
 * 
 */
package ua.kiev.ntukpi.asu.ga;

/**
 * @author Alexander Galibey
 *
 */
public class Job {
	
	private int number;

	private int duration;
	
	private int deadline;

	public Job(int number,int duration, int deadline) {
		this.number = number;
		this.duration = duration;
		this.deadline = deadline;
	}

	public Job() {
		
	}
	
	public Job(int number) {
		
		this.number = number;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public int getDeadline() {
		return deadline;
	}

	public void setDeadline(int deadline) {
		this.deadline = deadline;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}
	
	public String toString() {
		//return "Job : " + number + "; Duration :" + duration + "; Deadline: " + deadline + "\\n";
		return number + " ";
	}
}
